package com.bestcem.xm.txtanls.service.dto.chart;

import lombok.*;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 周期时间 -开始结束时间
 *
 * @author jy.zhao
 * @version 1.0
 * @date 2021/6/22 10:47
 **/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Data
public class PeriodTimeDTO {

    @NotNull(message = "周期开始时间不能为空")
    private LocalDateTime startTime;

    @NotNull(message = "周期结束时间不能为空")
    private LocalDateTime endTime;

}
